#!/usr/bin/python3
# @Time    : 2018/5/26 下午 17:16:05  
# @Author  : LaoJI
from wtforms import StringField, IntegerField, Form
from wtforms.validators import Length, NumberRange, Regexp, required


class GenerateForm(Form):
    numofexp = IntegerField(validators=[NumberRange(min=1, max=500), required], default=10)
    myrange = IntegerField(validators=[NumberRange(min=1, max=500), required], default=10)
    maxnumofoper = IntegerField(validators=[NumberRange(min=1, max=3), required], default=2)
